package com.ziyueyuwen.xiniao.bean.homework;

import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.JSONObject;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

/**
 * @author jun 2018/12/11.
 */
public class ZySubjectQuestionDO {
    private Integer id;
    private Integer subjectId;
    private Integer homeworkIndex;
    private List<QuestionInfo> questionInfoList;
    private List<QuestionInfo> classroomTestInfoList;
    private List<ItemData> previewInfoList;
    private List<ItemData> summaryInfoList;
    private List<ItemData> expandInfoList;
    private JSONObject answerOrder;
    private JSONObject remarkInfo;
    private Date createTime;

    public ZySubjectQuestionDO() {
        questionInfoList = new ArrayList<>();
        classroomTestInfoList = new ArrayList<>();
        previewInfoList = new ArrayList<>();
        summaryInfoList = new ArrayList<>();
        expandInfoList = new ArrayList<>();
        answerOrder = new JSONObject();
        remarkInfo = new JSONObject();
        answerOrder.put("limitTime", 0);
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public List<QuestionInfo> getQuestionInfoList() {
        return questionInfoList;
    }

    public void setQuestionInfoList(List<QuestionInfo> questionInfoList) {
        this.questionInfoList = questionInfoList;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Integer getSubjectId() {
        return subjectId;
    }

    public void setSubjectId(Integer subjectId) {
        this.subjectId = subjectId;
    }

    public List<ItemData> getPreviewInfoList() {
        return previewInfoList;
    }

    public void setPreviewInfoList(List<ItemData> previewInfoList) {
        this.previewInfoList = previewInfoList;
    }

    public List<ItemData> getSummaryInfoList() {
        return summaryInfoList;
    }

    public void setSummaryInfoList(List<ItemData> summaryInfoList) {
        this.summaryInfoList = summaryInfoList;
    }

    public List<ItemData> getExpandInfoList() {
        return expandInfoList;
    }

    public void setExpandInfoList(List<ItemData> expandInfoList) {
        this.expandInfoList = expandInfoList;
    }

    public Integer getHomeworkIndex() {
        return homeworkIndex;
    }

    public void setHomeworkIndex(Integer homeworkIndex) {
        this.homeworkIndex = homeworkIndex;
    }

    public JSONObject getAnswerOrder() {
        return answerOrder;
    }

    public void setAnswerOrder(JSONObject answerOrder) {
        this.answerOrder = answerOrder;
    }

    public List<QuestionInfo> getClassroomTestInfoList() {
        return classroomTestInfoList;
    }

    public void setClassroomTestInfoList(List<QuestionInfo> classroomTestInfoList) {
        this.classroomTestInfoList = classroomTestInfoList;
    }

    public JSONObject getRemarkInfo() {
        return remarkInfo;
    }

    public void setRemarkInfo(JSONObject remarkInfo) {
        this.remarkInfo = remarkInfo;
    }

    @Override
    public String toString() {
        return JSON.toJSONString(this);
    }
}
